package com.woniuxy.dao;

import com.woniuxy.entity.*;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;



public interface ProductionWareHouseDao {
    List<FGI> findAll();

    List<Deliveryrecord> finddeliveryrecordEdit();

    List<Warehousingrecord> findWarehousingRecord();

    List<Inventorydetails> findinventorydetails();

    List<FGI> search(String material_code);

    int addOne(Deliveryrecord deliveryrecord);

    List<Delivery_record> findAlldelivery_record();

    int deleteOne(String shipment_No);

    int updateOne(Deliveryrecord deliveryrecord);

    List<Delivery_record> findShipment_No(String shipment_no);

    int addStore(Warehousingrecord warehousingrecord);

    int updateStore(Warehousingrecord warehousingrecord);

    int deleteStore(String receipt_no);

    List<FGI> findReceipt_No(String receipt_no);

    int updatewarehouse_num(String material_code, int receipt_quantity);

    FGI findPW(String material_code);

    int update(String material_code, int shipped_qty);

    List<OrderEntity> findOrder();

    int updateOrderStatus(String order_num);

    int importExcel(List<Warehousingrecord> list);

    int importPWExcel(Warehousingrecord w);
}
